package com.health.pojo.dto;

import lombok.Data;
import javax.validation.constraints.NotNull;
import io.swagger.v3.oas.annotations.media.Schema;

/**
 * 发送咨询消息的入参对象
 *
 * @author WUYU_MIN
 * @date 2025-04-29 23:51:18
 */
@Data
public class ConsultationMessageDTO {

    // 会话ID：必填
    @NotNull(groups = CreateGroup.class, message = "会话ID不能为空")
    @Schema(description = "会话ID：必填")
    private Integer consultationId;

    // 发送者ID：必填
    @NotNull(groups = CreateGroup.class, message = "发送者ID不能为空")
    @Schema(description = "发送者ID：必填")
    private Integer senderId;

    // 内容类型：必填
    @NotNull(groups = CreateGroup.class, message = "内容类型不能为空")
    @Schema(description = "内容类型：必填")
    private String contentType;

    // 消息内容：必填
    @NotNull(groups = CreateGroup.class, message = "消息内容不能为空")
    @Schema(description = "消息内容：必填")
    private String messageContent;
}
